package com.eliota.entity;

import cn.hutool.json.JSONUtil;
import lombok.Data;
import org.junit.Test;

import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.stream.Collectors;

/**
 * @author M.G
 * @create 2023-03-30 10:20
 * @date 2023/3/30 10:20
 */

@Data
public class MenuTest {

        private Long id;
        private String name;
        private Long pid;
        private List<MenuTest> children;

        public MenuTest(Long id, String name, Long pid) {
            this.id = id;
            this.name = name;
            this.pid = pid;
        }

}
